﻿<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
      <title>bool4x4 结构
 | Fantasy.Net API Reference </title>
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <meta name="title" content="bool4x4 结构
 | Fantasy.Net API Reference ">
      
      <link rel="icon" href="../favicon.ico">
      <link rel="stylesheet" href="../public/docfx.min.css">
      <link rel="stylesheet" href="../public/main.css">
      <meta name="docfx:navrel" content="../toc.html">
      <meta name="docfx:tocrel" content="toc.html">
      
      <meta name="docfx:rel" content="../">
      
      
      
  </head>

  <script type="module">
    import options from './../public/main.js'
    import { init } from './../public/docfx.min.js'
    init(options)
  </script>

  <script>
    const theme = localStorage.getItem('theme') || 'auto'
    document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
  </script>

  <body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
    <header class="bg-body border-bottom">
      <nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
        <div class="container-xxl flex-nowrap">
          <a class="navbar-brand" href="../index.html">
            <img id="logo" class="svg" src="../logo.svg" alt="Fantasy.Net">
            Fantasy.Net
          </a>
          <button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
            <i class="bi bi-three-dots"></i>
          </button>
          <div class="collapse navbar-collapse" id="navpanel">
            <div id="navbar">
              <form class="search" role="search" id="search">
                <i class="bi bi-search"></i>
                <input class="form-control" id="search-query" type="search" disabled="" placeholder="搜索" autocomplete="off" aria-label="Search">
              </form>
            </div>
          </div>
        </div>
      </nav>
    </header>

    <main class="container-xxl">
      <div class="toc-offcanvas">
        <div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
          <div class="offcanvas-header">
            <h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
            <button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
          </div>
          <div class="offcanvas-body">
            <nav class="toc" id="toc"></nav>
          </div>
        </div>
      </div>

      <div class="content">
        <div class="actionbar">
          <button class="btn btn-lg border-0 d-md-none" style="margin-top: -.65em; margin-left: -.8em" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
            <i class="bi bi-list"></i>
          </button>

          <nav id="breadcrumb"></nav>
        </div>

        <article data-uid="Unity.Mathematics.bool4x4">



  <h1 id="Unity_Mathematics_bool4x4" data-uid="Unity.Mathematics.bool4x4" class="text-break">
    bool4x4 结构
  
  </h1>

  <div class="facts text-secondary">
    <dl><dt>命名空间</dt><dd><a class="xref" href="Unity.html">Unity</a>.<a class="xref" href="Unity.Mathematics.html">Mathematics</a></dd></dl>
  <dl><dt>程序集</dt><dd>Fantasy.Net.dll</dd></dl>
  </div>

  <div class="markdown summary"><p>A 4x4 matrix of bools.</p>
</div>
  <div class="markdown conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct bool4x4 : IEquatable&lt;bool4x4&gt;</code></pre>
  </div>





  <dl class="typelist implements">
    <dt>实现</dt>
    <dd>
      <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable</a>&lt;<a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a>&gt;</div>
    </dd>
  </dl>


  <dl class="typelist derived">
    <dt>继承成员</dt>
    <dd>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
    </div>
  </dd></dl>

  <dl class="typelist extensionMethods">
    <dt>扩展方法</dt>
    <dd>
  <div>
      <a class="xref" href="Fantasy.Helper.JsonHelper.html#Fantasy_Helper_JsonHelper_ToJson__1___0_">JsonHelper.ToJson&lt;T&gt;(T)</a>
  </div>
  </dd></dl>





  <h2 class="section" id="constructors">构造函数
</h2>


  <a id="Unity_Mathematics_bool4x4__ctor_" data-uid="Unity.Mathematics.bool4x4.#ctor*"></a>

  <h3 id="Unity_Mathematics_bool4x4__ctor_System_Boolean_" data-uid="Unity.Mathematics.bool4x4.#ctor(System.Boolean)">
  bool4x4(bool)
  
  </h3>

  <div class="markdown level1 summary"><p>Constructs a bool4x4 matrix from a single bool value by assigning it to every component.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool4x4(bool v)</code></pre>
  </div>

  <h4 class="section">参数</h4>
  <dl class="parameters">
    <dt><code>v</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>bool to convert to bool4x4</p>
</dd>
  </dl>












  <a id="Unity_Mathematics_bool4x4__ctor_" data-uid="Unity.Mathematics.bool4x4.#ctor*"></a>

  <h3 id="Unity_Mathematics_bool4x4__ctor_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="Unity.Mathematics.bool4x4.#ctor(System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">
  bool4x4(bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool)
  
  </h3>

  <div class="markdown level1 summary"><p>Constructs a bool4x4 matrix from 16 bool values given in row-major order.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool4x4(bool m00, bool m01, bool m02, bool m03, bool m10, bool m11, bool m12, bool m13, bool m20, bool m21, bool m22, bool m23, bool m30, bool m31, bool m32, bool m33)</code></pre>
  </div>

  <h4 class="section">参数</h4>
  <dl class="parameters">
    <dt><code>m00</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>The matrix at row 0, column 0 will be set to this value.</p>
</dd>
    <dt><code>m01</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>The matrix at row 0, column 1 will be set to this value.</p>
</dd>
    <dt><code>m02</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>The matrix at row 0, column 2 will be set to this value.</p>
</dd>
    <dt><code>m03</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>The matrix at row 0, column 3 will be set to this value.</p>
</dd>
    <dt><code>m10</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>The matrix at row 1, column 0 will be set to this value.</p>
</dd>
    <dt><code>m11</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>The matrix at row 1, column 1 will be set to this value.</p>
</dd>
    <dt><code>m12</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>The matrix at row 1, column 2 will be set to this value.</p>
</dd>
    <dt><code>m13</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>The matrix at row 1, column 3 will be set to this value.</p>
</dd>
    <dt><code>m20</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>The matrix at row 2, column 0 will be set to this value.</p>
</dd>
    <dt><code>m21</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>The matrix at row 2, column 1 will be set to this value.</p>
</dd>
    <dt><code>m22</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>The matrix at row 2, column 2 will be set to this value.</p>
</dd>
    <dt><code>m23</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>The matrix at row 2, column 3 will be set to this value.</p>
</dd>
    <dt><code>m30</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>The matrix at row 3, column 0 will be set to this value.</p>
</dd>
    <dt><code>m31</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>The matrix at row 3, column 1 will be set to this value.</p>
</dd>
    <dt><code>m32</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>The matrix at row 3, column 2 will be set to this value.</p>
</dd>
    <dt><code>m33</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>The matrix at row 3, column 3 will be set to this value.</p>
</dd>
  </dl>












  <a id="Unity_Mathematics_bool4x4__ctor_" data-uid="Unity.Mathematics.bool4x4.#ctor*"></a>

  <h3 id="Unity_Mathematics_bool4x4__ctor_Unity_Mathematics_bool4_Unity_Mathematics_bool4_Unity_Mathematics_bool4_Unity_Mathematics_bool4_" data-uid="Unity.Mathematics.bool4x4.#ctor(Unity.Mathematics.bool4,Unity.Mathematics.bool4,Unity.Mathematics.bool4,Unity.Mathematics.bool4)">
  bool4x4(bool4, bool4, bool4, bool4)
  
  </h3>

  <div class="markdown level1 summary"><p>Constructs a bool4x4 matrix from four bool4 vectors.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool4x4(bool4 c0, bool4 c1, bool4 c2, bool4 c3)</code></pre>
  </div>

  <h4 class="section">参数</h4>
  <dl class="parameters">
    <dt><code>c0</code> <a class="xref" href="Unity.Mathematics.bool4.html">bool4</a></dt>
    <dd><p>The matrix column c0 will be set to this value.</p>
</dd>
    <dt><code>c1</code> <a class="xref" href="Unity.Mathematics.bool4.html">bool4</a></dt>
    <dd><p>The matrix column c1 will be set to this value.</p>
</dd>
    <dt><code>c2</code> <a class="xref" href="Unity.Mathematics.bool4.html">bool4</a></dt>
    <dd><p>The matrix column c2 will be set to this value.</p>
</dd>
    <dt><code>c3</code> <a class="xref" href="Unity.Mathematics.bool4.html">bool4</a></dt>
    <dd><p>The matrix column c3 will be set to this value.</p>
</dd>
  </dl>












  <h2 class="section" id="fields">字段
</h2>



  <h3 id="Unity_Mathematics_bool4x4_c0" data-uid="Unity.Mathematics.bool4x4.c0">
  c0
  
  </h3>

  <div class="markdown level1 summary"><p>Column 0 of the matrix.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool4 c0</code></pre>
  </div>




  <h4 class="section">字段值</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Unity.Mathematics.bool4.html">bool4</a></dt>
    <dd></dd>
  </dl>










  <h3 id="Unity_Mathematics_bool4x4_c1" data-uid="Unity.Mathematics.bool4x4.c1">
  c1
  
  </h3>

  <div class="markdown level1 summary"><p>Column 1 of the matrix.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool4 c1</code></pre>
  </div>




  <h4 class="section">字段值</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Unity.Mathematics.bool4.html">bool4</a></dt>
    <dd></dd>
  </dl>










  <h3 id="Unity_Mathematics_bool4x4_c2" data-uid="Unity.Mathematics.bool4x4.c2">
  c2
  
  </h3>

  <div class="markdown level1 summary"><p>Column 2 of the matrix.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool4 c2</code></pre>
  </div>




  <h4 class="section">字段值</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Unity.Mathematics.bool4.html">bool4</a></dt>
    <dd></dd>
  </dl>










  <h3 id="Unity_Mathematics_bool4x4_c3" data-uid="Unity.Mathematics.bool4x4.c3">
  c3
  
  </h3>

  <div class="markdown level1 summary"><p>Column 3 of the matrix.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool4 c3</code></pre>
  </div>




  <h4 class="section">字段值</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Unity.Mathematics.bool4.html">bool4</a></dt>
    <dd></dd>
  </dl>









  <h2 class="section" id="properties">属性
</h2>


  <a id="Unity_Mathematics_bool4x4_Item_" data-uid="Unity.Mathematics.bool4x4.Item*"></a>

  <h3 id="Unity_Mathematics_bool4x4_Item_System_Int32_" data-uid="Unity.Mathematics.bool4x4.Item(System.Int32)">
  this[int]
  
  </h3>

  <div class="markdown level1 summary"><p>Returns the bool4 element at a specified index.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ref bool4 this[int index] { get; }</code></pre>
  </div>

  <h4 class="section">参数</h4>
  <dl class="parameters">
    <dt><code>index</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
    <dd></dd>
  </dl>




  <h4 class="section">属性值</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Unity.Mathematics.bool4.html">bool4</a></dt>
    <dd></dd>
  </dl>








  <h2 class="section" id="methods">方法
</h2>


  <a id="Unity_Mathematics_bool4x4_Equals_" data-uid="Unity.Mathematics.bool4x4.Equals*"></a>

  <h3 id="Unity_Mathematics_bool4x4_Equals_System_Object_" data-uid="Unity.Mathematics.bool4x4.Equals(System.Object)">
  Equals(object)
  
  </h3>

  <div class="markdown level1 summary"><p>Returns true if the bool4x4 is equal to a given bool4x4, false otherwise.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public override bool Equals(object o)</code></pre>
  </div>

  <h4 class="section">参数</h4>
  <dl class="parameters">
    <dt><code>o</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></dt>
    <dd><p>Right hand side argument to compare equality with.</p>
</dd>
  </dl>

  <h4 class="section">返回</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>The result of the equality comparison.</p>
</dd>
  </dl>











  <a id="Unity_Mathematics_bool4x4_Equals_" data-uid="Unity.Mathematics.bool4x4.Equals*"></a>

  <h3 id="Unity_Mathematics_bool4x4_Equals_Unity_Mathematics_bool4x4_" data-uid="Unity.Mathematics.bool4x4.Equals(Unity.Mathematics.bool4x4)">
  Equals(bool4x4)
  
  </h3>

  <div class="markdown level1 summary"><p>Returns true if the bool4x4 is equal to a given bool4x4, false otherwise.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool Equals(bool4x4 rhs)</code></pre>
  </div>

  <h4 class="section">参数</h4>
  <dl class="parameters">
    <dt><code>rhs</code> <a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>Right hand side argument to compare equality with.</p>
</dd>
  </dl>

  <h4 class="section">返回</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>The result of the equality comparison.</p>
</dd>
  </dl>











  <a id="Unity_Mathematics_bool4x4_GetHashCode_" data-uid="Unity.Mathematics.bool4x4.GetHashCode*"></a>

  <h3 id="Unity_Mathematics_bool4x4_GetHashCode" data-uid="Unity.Mathematics.bool4x4.GetHashCode">
  GetHashCode()
  
  </h3>

  <div class="markdown level1 summary"><p>Returns a hash code for the bool4x4.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public override int GetHashCode()</code></pre>
  </div>


  <h4 class="section">返回</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
    <dd><p>The computed hash code.</p>
</dd>
  </dl>











  <a id="Unity_Mathematics_bool4x4_ToString_" data-uid="Unity.Mathematics.bool4x4.ToString*"></a>

  <h3 id="Unity_Mathematics_bool4x4_ToString" data-uid="Unity.Mathematics.bool4x4.ToString">
  ToString()
  
  </h3>

  <div class="markdown level1 summary"><p>Returns a string representation of the bool4x4.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public override string ToString()</code></pre>
  </div>


  <h4 class="section">返回</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>String representation of the value.</p>
</dd>
  </dl>











  <h2 class="section" id="operators">运算符
</h2>


  <a id="Unity_Mathematics_bool4x4_op_BitwiseAnd_" data-uid="Unity.Mathematics.bool4x4.op_BitwiseAnd*"></a>

  <h3 id="Unity_Mathematics_bool4x4_op_BitwiseAnd_System_Boolean_Unity_Mathematics_bool4x4_" data-uid="Unity.Mathematics.bool4x4.op_BitwiseAnd(System.Boolean,Unity.Mathematics.bool4x4)">
  operator &amp;(bool, bool4x4)
  
  </h3>

  <div class="markdown level1 summary"><p>Returns the result of a componentwise bitwise and operation on a bool value and a bool4x4 matrix.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool4x4 operator &amp;(bool lhs, bool4x4 rhs)</code></pre>
  </div>

  <h4 class="section">参数</h4>
  <dl class="parameters">
    <dt><code>lhs</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>Left hand side bool to use to compute componentwise bitwise and.</p>
</dd>
    <dt><code>rhs</code> <a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>Right hand side bool4x4 to use to compute componentwise bitwise and.</p>
</dd>
  </dl>

  <h4 class="section">返回</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>bool4x4 result of the componentwise bitwise and.</p>
</dd>
  </dl>











  <a id="Unity_Mathematics_bool4x4_op_BitwiseAnd_" data-uid="Unity.Mathematics.bool4x4.op_BitwiseAnd*"></a>

  <h3 id="Unity_Mathematics_bool4x4_op_BitwiseAnd_Unity_Mathematics_bool4x4_System_Boolean_" data-uid="Unity.Mathematics.bool4x4.op_BitwiseAnd(Unity.Mathematics.bool4x4,System.Boolean)">
  operator &amp;(bool4x4, bool)
  
  </h3>

  <div class="markdown level1 summary"><p>Returns the result of a componentwise bitwise and operation on a bool4x4 matrix and a bool value.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool4x4 operator &amp;(bool4x4 lhs, bool rhs)</code></pre>
  </div>

  <h4 class="section">参数</h4>
  <dl class="parameters">
    <dt><code>lhs</code> <a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>Left hand side bool4x4 to use to compute componentwise bitwise and.</p>
</dd>
    <dt><code>rhs</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>Right hand side bool to use to compute componentwise bitwise and.</p>
</dd>
  </dl>

  <h4 class="section">返回</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>bool4x4 result of the componentwise bitwise and.</p>
</dd>
  </dl>











  <a id="Unity_Mathematics_bool4x4_op_BitwiseAnd_" data-uid="Unity.Mathematics.bool4x4.op_BitwiseAnd*"></a>

  <h3 id="Unity_Mathematics_bool4x4_op_BitwiseAnd_Unity_Mathematics_bool4x4_Unity_Mathematics_bool4x4_" data-uid="Unity.Mathematics.bool4x4.op_BitwiseAnd(Unity.Mathematics.bool4x4,Unity.Mathematics.bool4x4)">
  operator &amp;(bool4x4, bool4x4)
  
  </h3>

  <div class="markdown level1 summary"><p>Returns the result of a componentwise bitwise and operation on two bool4x4 matrices.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool4x4 operator &amp;(bool4x4 lhs, bool4x4 rhs)</code></pre>
  </div>

  <h4 class="section">参数</h4>
  <dl class="parameters">
    <dt><code>lhs</code> <a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>Left hand side bool4x4 to use to compute componentwise bitwise and.</p>
</dd>
    <dt><code>rhs</code> <a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>Right hand side bool4x4 to use to compute componentwise bitwise and.</p>
</dd>
  </dl>

  <h4 class="section">返回</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>bool4x4 result of the componentwise bitwise and.</p>
</dd>
  </dl>











  <a id="Unity_Mathematics_bool4x4_op_BitwiseOr_" data-uid="Unity.Mathematics.bool4x4.op_BitwiseOr*"></a>

  <h3 id="Unity_Mathematics_bool4x4_op_BitwiseOr_System_Boolean_Unity_Mathematics_bool4x4_" data-uid="Unity.Mathematics.bool4x4.op_BitwiseOr(System.Boolean,Unity.Mathematics.bool4x4)">
  operator |(bool, bool4x4)
  
  </h3>

  <div class="markdown level1 summary"><p>Returns the result of a componentwise bitwise or operation on a bool value and a bool4x4 matrix.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool4x4 operator |(bool lhs, bool4x4 rhs)</code></pre>
  </div>

  <h4 class="section">参数</h4>
  <dl class="parameters">
    <dt><code>lhs</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>Left hand side bool to use to compute componentwise bitwise or.</p>
</dd>
    <dt><code>rhs</code> <a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>Right hand side bool4x4 to use to compute componentwise bitwise or.</p>
</dd>
  </dl>

  <h4 class="section">返回</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>bool4x4 result of the componentwise bitwise or.</p>
</dd>
  </dl>











  <a id="Unity_Mathematics_bool4x4_op_BitwiseOr_" data-uid="Unity.Mathematics.bool4x4.op_BitwiseOr*"></a>

  <h3 id="Unity_Mathematics_bool4x4_op_BitwiseOr_Unity_Mathematics_bool4x4_System_Boolean_" data-uid="Unity.Mathematics.bool4x4.op_BitwiseOr(Unity.Mathematics.bool4x4,System.Boolean)">
  operator |(bool4x4, bool)
  
  </h3>

  <div class="markdown level1 summary"><p>Returns the result of a componentwise bitwise or operation on a bool4x4 matrix and a bool value.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool4x4 operator |(bool4x4 lhs, bool rhs)</code></pre>
  </div>

  <h4 class="section">参数</h4>
  <dl class="parameters">
    <dt><code>lhs</code> <a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>Left hand side bool4x4 to use to compute componentwise bitwise or.</p>
</dd>
    <dt><code>rhs</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>Right hand side bool to use to compute componentwise bitwise or.</p>
</dd>
  </dl>

  <h4 class="section">返回</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>bool4x4 result of the componentwise bitwise or.</p>
</dd>
  </dl>











  <a id="Unity_Mathematics_bool4x4_op_BitwiseOr_" data-uid="Unity.Mathematics.bool4x4.op_BitwiseOr*"></a>

  <h3 id="Unity_Mathematics_bool4x4_op_BitwiseOr_Unity_Mathematics_bool4x4_Unity_Mathematics_bool4x4_" data-uid="Unity.Mathematics.bool4x4.op_BitwiseOr(Unity.Mathematics.bool4x4,Unity.Mathematics.bool4x4)">
  operator |(bool4x4, bool4x4)
  
  </h3>

  <div class="markdown level1 summary"><p>Returns the result of a componentwise bitwise or operation on two bool4x4 matrices.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool4x4 operator |(bool4x4 lhs, bool4x4 rhs)</code></pre>
  </div>

  <h4 class="section">参数</h4>
  <dl class="parameters">
    <dt><code>lhs</code> <a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>Left hand side bool4x4 to use to compute componentwise bitwise or.</p>
</dd>
    <dt><code>rhs</code> <a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>Right hand side bool4x4 to use to compute componentwise bitwise or.</p>
</dd>
  </dl>

  <h4 class="section">返回</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>bool4x4 result of the componentwise bitwise or.</p>
</dd>
  </dl>











  <a id="Unity_Mathematics_bool4x4_op_Equality_" data-uid="Unity.Mathematics.bool4x4.op_Equality*"></a>

  <h3 id="Unity_Mathematics_bool4x4_op_Equality_System_Boolean_Unity_Mathematics_bool4x4_" data-uid="Unity.Mathematics.bool4x4.op_Equality(System.Boolean,Unity.Mathematics.bool4x4)">
  operator ==(bool, bool4x4)
  
  </h3>

  <div class="markdown level1 summary"><p>Returns the result of a componentwise equality operation on a bool value and a bool4x4 matrix.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool4x4 operator ==(bool lhs, bool4x4 rhs)</code></pre>
  </div>

  <h4 class="section">参数</h4>
  <dl class="parameters">
    <dt><code>lhs</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>Left hand side bool to use to compute componentwise equality.</p>
</dd>
    <dt><code>rhs</code> <a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>Right hand side bool4x4 to use to compute componentwise equality.</p>
</dd>
  </dl>

  <h4 class="section">返回</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>bool4x4 result of the componentwise equality.</p>
</dd>
  </dl>











  <a id="Unity_Mathematics_bool4x4_op_Equality_" data-uid="Unity.Mathematics.bool4x4.op_Equality*"></a>

  <h3 id="Unity_Mathematics_bool4x4_op_Equality_Unity_Mathematics_bool4x4_System_Boolean_" data-uid="Unity.Mathematics.bool4x4.op_Equality(Unity.Mathematics.bool4x4,System.Boolean)">
  operator ==(bool4x4, bool)
  
  </h3>

  <div class="markdown level1 summary"><p>Returns the result of a componentwise equality operation on a bool4x4 matrix and a bool value.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool4x4 operator ==(bool4x4 lhs, bool rhs)</code></pre>
  </div>

  <h4 class="section">参数</h4>
  <dl class="parameters">
    <dt><code>lhs</code> <a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>Left hand side bool4x4 to use to compute componentwise equality.</p>
</dd>
    <dt><code>rhs</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>Right hand side bool to use to compute componentwise equality.</p>
</dd>
  </dl>

  <h4 class="section">返回</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>bool4x4 result of the componentwise equality.</p>
</dd>
  </dl>











  <a id="Unity_Mathematics_bool4x4_op_Equality_" data-uid="Unity.Mathematics.bool4x4.op_Equality*"></a>

  <h3 id="Unity_Mathematics_bool4x4_op_Equality_Unity_Mathematics_bool4x4_Unity_Mathematics_bool4x4_" data-uid="Unity.Mathematics.bool4x4.op_Equality(Unity.Mathematics.bool4x4,Unity.Mathematics.bool4x4)">
  operator ==(bool4x4, bool4x4)
  
  </h3>

  <div class="markdown level1 summary"><p>Returns the result of a componentwise equality operation on two bool4x4 matrices.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool4x4 operator ==(bool4x4 lhs, bool4x4 rhs)</code></pre>
  </div>

  <h4 class="section">参数</h4>
  <dl class="parameters">
    <dt><code>lhs</code> <a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>Left hand side bool4x4 to use to compute componentwise equality.</p>
</dd>
    <dt><code>rhs</code> <a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>Right hand side bool4x4 to use to compute componentwise equality.</p>
</dd>
  </dl>

  <h4 class="section">返回</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>bool4x4 result of the componentwise equality.</p>
</dd>
  </dl>











  <a id="Unity_Mathematics_bool4x4_op_ExclusiveOr_" data-uid="Unity.Mathematics.bool4x4.op_ExclusiveOr*"></a>

  <h3 id="Unity_Mathematics_bool4x4_op_ExclusiveOr_System_Boolean_Unity_Mathematics_bool4x4_" data-uid="Unity.Mathematics.bool4x4.op_ExclusiveOr(System.Boolean,Unity.Mathematics.bool4x4)">
  operator ^(bool, bool4x4)
  
  </h3>

  <div class="markdown level1 summary"><p>Returns the result of a componentwise bitwise exclusive or operation on a bool value and a bool4x4 matrix.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool4x4 operator ^(bool lhs, bool4x4 rhs)</code></pre>
  </div>

  <h4 class="section">参数</h4>
  <dl class="parameters">
    <dt><code>lhs</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>Left hand side bool to use to compute componentwise bitwise exclusive or.</p>
</dd>
    <dt><code>rhs</code> <a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>Right hand side bool4x4 to use to compute componentwise bitwise exclusive or.</p>
</dd>
  </dl>

  <h4 class="section">返回</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>bool4x4 result of the componentwise bitwise exclusive or.</p>
</dd>
  </dl>











  <a id="Unity_Mathematics_bool4x4_op_ExclusiveOr_" data-uid="Unity.Mathematics.bool4x4.op_ExclusiveOr*"></a>

  <h3 id="Unity_Mathematics_bool4x4_op_ExclusiveOr_Unity_Mathematics_bool4x4_System_Boolean_" data-uid="Unity.Mathematics.bool4x4.op_ExclusiveOr(Unity.Mathematics.bool4x4,System.Boolean)">
  operator ^(bool4x4, bool)
  
  </h3>

  <div class="markdown level1 summary"><p>Returns the result of a componentwise bitwise exclusive or operation on a bool4x4 matrix and a bool value.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool4x4 operator ^(bool4x4 lhs, bool rhs)</code></pre>
  </div>

  <h4 class="section">参数</h4>
  <dl class="parameters">
    <dt><code>lhs</code> <a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>Left hand side bool4x4 to use to compute componentwise bitwise exclusive or.</p>
</dd>
    <dt><code>rhs</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>Right hand side bool to use to compute componentwise bitwise exclusive or.</p>
</dd>
  </dl>

  <h4 class="section">返回</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>bool4x4 result of the componentwise bitwise exclusive or.</p>
</dd>
  </dl>











  <a id="Unity_Mathematics_bool4x4_op_ExclusiveOr_" data-uid="Unity.Mathematics.bool4x4.op_ExclusiveOr*"></a>

  <h3 id="Unity_Mathematics_bool4x4_op_ExclusiveOr_Unity_Mathematics_bool4x4_Unity_Mathematics_bool4x4_" data-uid="Unity.Mathematics.bool4x4.op_ExclusiveOr(Unity.Mathematics.bool4x4,Unity.Mathematics.bool4x4)">
  operator ^(bool4x4, bool4x4)
  
  </h3>

  <div class="markdown level1 summary"><p>Returns the result of a componentwise bitwise exclusive or operation on two bool4x4 matrices.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool4x4 operator ^(bool4x4 lhs, bool4x4 rhs)</code></pre>
  </div>

  <h4 class="section">参数</h4>
  <dl class="parameters">
    <dt><code>lhs</code> <a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>Left hand side bool4x4 to use to compute componentwise bitwise exclusive or.</p>
</dd>
    <dt><code>rhs</code> <a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>Right hand side bool4x4 to use to compute componentwise bitwise exclusive or.</p>
</dd>
  </dl>

  <h4 class="section">返回</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>bool4x4 result of the componentwise bitwise exclusive or.</p>
</dd>
  </dl>











  <a id="Unity_Mathematics_bool4x4_op_Implicit_" data-uid="Unity.Mathematics.bool4x4.op_Implicit*"></a>

  <h3 id="Unity_Mathematics_bool4x4_op_Implicit_System_Boolean__Unity_Mathematics_bool4x4" data-uid="Unity.Mathematics.bool4x4.op_Implicit(System.Boolean)~Unity.Mathematics.bool4x4">
  implicit operator bool4x4(bool)
  
  </h3>

  <div class="markdown level1 summary"><p>Implicitly converts a single bool value to a bool4x4 matrix by assigning it to every component.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static implicit operator bool4x4(bool v)</code></pre>
  </div>

  <h4 class="section">参数</h4>
  <dl class="parameters">
    <dt><code>v</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>bool to convert to bool4x4</p>
</dd>
  </dl>

  <h4 class="section">返回</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>Converted value.</p>
</dd>
  </dl>











  <a id="Unity_Mathematics_bool4x4_op_Inequality_" data-uid="Unity.Mathematics.bool4x4.op_Inequality*"></a>

  <h3 id="Unity_Mathematics_bool4x4_op_Inequality_System_Boolean_Unity_Mathematics_bool4x4_" data-uid="Unity.Mathematics.bool4x4.op_Inequality(System.Boolean,Unity.Mathematics.bool4x4)">
  operator !=(bool, bool4x4)
  
  </h3>

  <div class="markdown level1 summary"><p>Returns the result of a componentwise not equal operation on a bool value and a bool4x4 matrix.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool4x4 operator !=(bool lhs, bool4x4 rhs)</code></pre>
  </div>

  <h4 class="section">参数</h4>
  <dl class="parameters">
    <dt><code>lhs</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>Left hand side bool to use to compute componentwise not equal.</p>
</dd>
    <dt><code>rhs</code> <a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>Right hand side bool4x4 to use to compute componentwise not equal.</p>
</dd>
  </dl>

  <h4 class="section">返回</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>bool4x4 result of the componentwise not equal.</p>
</dd>
  </dl>











  <a id="Unity_Mathematics_bool4x4_op_Inequality_" data-uid="Unity.Mathematics.bool4x4.op_Inequality*"></a>

  <h3 id="Unity_Mathematics_bool4x4_op_Inequality_Unity_Mathematics_bool4x4_System_Boolean_" data-uid="Unity.Mathematics.bool4x4.op_Inequality(Unity.Mathematics.bool4x4,System.Boolean)">
  operator !=(bool4x4, bool)
  
  </h3>

  <div class="markdown level1 summary"><p>Returns the result of a componentwise not equal operation on a bool4x4 matrix and a bool value.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool4x4 operator !=(bool4x4 lhs, bool rhs)</code></pre>
  </div>

  <h4 class="section">参数</h4>
  <dl class="parameters">
    <dt><code>lhs</code> <a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>Left hand side bool4x4 to use to compute componentwise not equal.</p>
</dd>
    <dt><code>rhs</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>Right hand side bool to use to compute componentwise not equal.</p>
</dd>
  </dl>

  <h4 class="section">返回</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>bool4x4 result of the componentwise not equal.</p>
</dd>
  </dl>











  <a id="Unity_Mathematics_bool4x4_op_Inequality_" data-uid="Unity.Mathematics.bool4x4.op_Inequality*"></a>

  <h3 id="Unity_Mathematics_bool4x4_op_Inequality_Unity_Mathematics_bool4x4_Unity_Mathematics_bool4x4_" data-uid="Unity.Mathematics.bool4x4.op_Inequality(Unity.Mathematics.bool4x4,Unity.Mathematics.bool4x4)">
  operator !=(bool4x4, bool4x4)
  
  </h3>

  <div class="markdown level1 summary"><p>Returns the result of a componentwise not equal operation on two bool4x4 matrices.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool4x4 operator !=(bool4x4 lhs, bool4x4 rhs)</code></pre>
  </div>

  <h4 class="section">参数</h4>
  <dl class="parameters">
    <dt><code>lhs</code> <a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>Left hand side bool4x4 to use to compute componentwise not equal.</p>
</dd>
    <dt><code>rhs</code> <a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>Right hand side bool4x4 to use to compute componentwise not equal.</p>
</dd>
  </dl>

  <h4 class="section">返回</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>bool4x4 result of the componentwise not equal.</p>
</dd>
  </dl>











  <a id="Unity_Mathematics_bool4x4_op_LogicalNot_" data-uid="Unity.Mathematics.bool4x4.op_LogicalNot*"></a>

  <h3 id="Unity_Mathematics_bool4x4_op_LogicalNot_Unity_Mathematics_bool4x4_" data-uid="Unity.Mathematics.bool4x4.op_LogicalNot(Unity.Mathematics.bool4x4)">
  operator !(bool4x4)
  
  </h3>

  <div class="markdown level1 summary"><p>Returns the result of a componentwise not operation on a bool4x4 matrix.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool4x4 operator !(bool4x4 val)</code></pre>
  </div>

  <h4 class="section">参数</h4>
  <dl class="parameters">
    <dt><code>val</code> <a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>Value to use when computing the componentwise not.</p>
</dd>
  </dl>

  <h4 class="section">返回</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Unity.Mathematics.bool4x4.html">bool4x4</a></dt>
    <dd><p>bool4x4 result of the componentwise not.</p>
</dd>
  </dl>












</article>


        
      </div>

      <div class="affix">
        <nav id="affix"></nav>
      </div>
    </main>

    <div class="container-xxl search-results" id="search-results"></div>

    <footer class="border-top">
      <div class="container-xxl">
        <div class="flex-fill">
          <span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
        </div>
      </div>
    </footer>
  </body>
</html>